﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Reflection;
using System.Drawing;

namespace AngelPerez.Taringa.PostEdit {
	public static class ControlExtensions {
		public static bool BetweenRect(this Point point, Rectangle rect) {
			return point.X >= rect.X && point.Y >= rect.Y && point.X <= rect.Width + rect.X && point.Y <= rect.Height + rect.Y;
		}
	}
}
